﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineOrder
{
    internal class Order
    {
        private int _id;
        private string _userId;
        private string _takeoutId;
        private string _status;

        public int Id { get => _id; set => _id = value; }
        public string UserId { get => _userId; set => _userId = value; }
        public string TakeoutId { get => _takeoutId; set => _takeoutId = value; }
        public string Status { get => _status; set => _status = value; }

        public Order(int id, string userId, string takeoutId, string status)
        {
            _id = id;
            _userId = userId;
            _takeoutId = takeoutId;
            _status = status;
        }
    }
}
